package com.pearadmin.modules.sys.domain;

import com.pearadmin.common.web.base.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

/**
 * 工单历史管理对象 work_order_history
 *
 * @author Mr.Ling
 * @LocalDateTime 2021-12-18
 */
@Data
@Alias("WorkOrderHistory")
public class WorkOrderHistory extends BaseDomain {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    private String id;

    @ApiModelProperty("订单编号")
    private String orderId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("620 数量")
    private Long lowNum;

    @ApiModelProperty("650 数量")
    private Long highNum;

    @ApiModelProperty("其他 数量")
    private Long otherNum;

    @ApiModelProperty("配送人")
    private String sender;

    @ApiModelProperty("出库人")
    private String invOutBy;

    @ApiModelProperty("接收者")
    private String accepter;

    @ApiModelProperty("出库时间")
    private LocalDateTime invOutTime;

    @ApiModelProperty("配送时间")
    private LocalDateTime sendTime;

    @ApiModelProperty("接收时间（工单结束时间）")
    private LocalDateTime acceptTime;

    @ApiModelProperty("工单状态")
    private String status;

    @ApiModelProperty("抄送列表id")
    private String carbonCopyList;

    @ApiModelProperty("取货单位id")
    private String invOutDept;

    @ApiModelProperty("收货单位id 去向部门id")
    private String acceptDept;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("修改人")
    private String updateName;

    @ApiModelProperty("工单发起人名称")
    private String createName;

    @ApiModelProperty("配送人名称")
    private String senderName;

    @ApiModelProperty("出库人名称")
    private String invOutName;

    @ApiModelProperty("接收人名称")
    private String accepterName;

    @ApiModelProperty("取货部门名称")
    private String invOutDeptName;

    @ApiModelProperty("收货部门名称")
    private String acceptDeptName;

    @ApiModelProperty("是否逻辑删除 1 不删 0 删除")
    private String enable;

}
